import {message} from 'element-ui'

let mess = (val,typ) => {
   message.closeAll()
   message({
    message:val,
    type: typ,
    duration: 2000,
  })
}



export default mess